Apparatus for and method of inhibiting and overriding an electrical control device

ABSTRACT

An apparatus for and method of inhibiting and overriding the normal operating mode of an input device connected to a communications network function within an electrical network made up of input devices, with a group of the input devices being capable of commanding an electrical control device to apply and remove electrical power from an electrical load. The input devices or nodes communicate with the electrical control device over the communications network. When one of the input devices is turned off, the normal operating mode of all of the other input sensors is inhibited. The electrical control device remains inhibited until all of the input devices are no longer in the off position. Thus, electrical power to the load controlled by the electrical control device remains disconnected until all input devices are in the on position. Local and remote signaling, control, and indication diagnostic and monitoring functions are also performed.

This is a continuation of application Ser. No. 09/045,625 filed on Mar.20, 1998 U.S. Pat. No. 6,138,241.

FIELD OF THE INVENTION

The present invention relates to electrical devices and moreparticularly relates to an apparatus for and method of inhibiting anelectrical control device connected to a communications network.

BACKGROUND OF THE INVENTION

A growing trend within the electrical device industry is to enablepreviously stand alone electrical devices, such as sensors and lightingcontrol devices, to communicate with each other over some type ofcommunications network. Previously, sensor, switch and control devicescommunicated using point to point connections. Nowadays, manufacturersare building into these devices communication means to enable them tocommunicate over local area networks (LANs). A variety of systems arecurrently commercially available which electrical device manufacturerscan integrate into their products to enable them to communicate over anetwork.

One such system is the CEBus system which has been made an EIA standard,the EIA 600 standard, and was originally developed by Intellon Corp. Asecond system is the LonWorks system commercially available from anddeveloped by Echelon Corp. Both the CEBus and LonWorks systems specifyphysical and link layer means for communicating over a variety ofdifferent media including power line, coaxial cable, fiber optic cable,radio frequency (RF), infrared (IR) and twisted pair cable.

For example, in the area of lighting, it is possible to wire anelectrical load to multiple switches such that turning any of theswitches on functions to turn the load on. The wiring circuits for twoand three way switches are well known and relatively simple toimplement. As the number of switches increases, e.g., four way, five wayand beyond, the wiring circuits become extremely complicated andunwieldy.

Utilizing one of these systems makes it much easier to design electricalsystems which comprise a plurality of different sensing and controldevices. Using the lighting example presented above, it is a straightforward application to implement a lighting system whereby multiplesensors or switches control the same lighting control device. Forexample, each device within a mixture of multiple occupancy sensors,switches or other types of sensor/switch devices can be configured toactivate and control the same lighting control device.

However, a disadvantage is when maintenance or service is required to beperformed on any of the input sensing or dimming devices controlling orconnected to the same lighting control device. Although one of thedevices is disabled or placed in an off mode, any of the other devicesis still free to activate the application of electrical power to theload.

SUMMARY OF THE INVENTION

The present invention is an apparatus for and method of inhibiting andoverriding the normal operating mode of one or more input devicesconnected to a communications network. The present invention is intendedto function within an electrical network that is made up of a pluralityof input devices wherein a group of input devices is capable ofcommanding an electrical control device to apply and remove electricalpower from an electrical load connected thereto. The input devices ornodes communicate with the electrical control device over acommunications network. Such electrical networks can be implemented, forexample, utilizing the CEBus (EIA-600 standard) or LonWorkscommunications systems.

The input devices may comprise any type of sensor such as an occupancysensor or may comprise a switch or dimming control input. The electricalcontrol device may comprise any switching or dimming control device suchas a common circuit breaker or other load breaking/dimming device.

When one of the input devices is turned off, the present invention isoperative to inhibit the normal operating mode of all the other inputsensors. Note that throughout this document, ‘turning a device off’includes switching the device off, disabling the device, placing thedevice in standby mode or tripping the device. There can be multipleinput devices simultaneously in the off, disabled, standby or trippedmode. The electrical control device remains inhibited until all theinput devices are no longer in the off, disabled, standby or trippedmode. Thus, electrical power to the load controlled by the electricalcontrol device remains disconnected until all input devices are in theon position.

The present invention is particularly suited to permit maintenance orservice to be performed in a safe manner on any of the input deviceslogically connected to the same electrical control device, i.e.,switching or dimming control device. The present invention has beenembodied in a series of electrical device products that have beenadapted to operate in a LonWorks system. For example, the occupancysensor catalog no. L778-T and the dimming control unit catalog no.L206-CT, both manufactured by Leviton Manufacturing Co., Inc., LittleNeck, N.Y. implement the method of the present invention.

Each input device comprises switch means for placing the input deviceinto an off, disabled, standby, tripped or maintenance inhibit mode. Theswitch means can be implemented using mechanical or electronic means ora combination of the two either at the device itself or remotely over anetwork via one or more control commands. A pull out tab or mechanicalarm can be used to put the input device into the maintenance off modewhen it is pulled out. The pull out tab or mechanical arm would leavethe input device in normal operating mode when pushed back in.

In either case, when the input device is placed in the off position, aninhibit message is sent to the electrical control device. In response,electrical power to the attached load is removed. Subsequently, allother input devices are inhibited from applying power to said load. Thispermits safe access to the electrical control device or to the load forservice or maintenance reasons. The normal operating mode of all theinput devices connected to the same electrical control device isinhibited or overridden. Until all input devices that have previouslybeen placed in the off mode are put into the on mode and returned totheir normal operating condition, all input devices are not permitted tochange the state of the load or the electrical control device.

Local and remote signaling, control and indication (on a networkmanagement tool, for example) is also provided when any device is beingtested, fails or passes the tests, fails, requires testing or is in adegraded state and is about to fail. This includes remote diagnosticmonitoring and control by a remote entity such as a network managementtool connected to the network. Nodes report their status eitherautomatically at periodic intervals or in response to queries by amanagement entity.

There is thus disclosed in accordance with the present invention amethod of inhibiting the normal operating mode of a plurality of nodeslogically connected to an electrical control device, the methodcomprising the steps of placing at least one of the nodes into the offstate, communicating to the electrical control device the fact that thenode has been placed on the off sate and inhibiting the electricalcontrol device; in response to the communication, from activating anelectrical load connected thereto until each of the plurality of nodesis removed from the off state.

In addition, the plurality of nodes and the electrical control deviceare adapted to communicate over a communications network. The pluralityof nodes and the electrical control device may be adapted to operate ina LonWorks compatible system or a CEBus compatible system. The methodalso comprises the step of providing switch means at each nodepermitting a user to place the node in the off state. The method alsocomprises the step of inhibiting each node from instructing theelectrical control device to apply electrical power to the electricalload.

The method also comprises the steps of maintaining a table of nodeidentifiers, adding an identifier associated with a node to the tablewhen a node has been placed in the off state, removing the identifierassociated with a node from the table when the node has been removedfrom the off state and enabling the electrical control device toactivate an electrical load connected thereto when all node identifiershave been removed from the table, wherein the node identifier maycomprise the address of the node.

There is also disclosed in accordance with the present invention, in anelectrical network including a plurality of input devices and anelectrical control device coupled to and controlling electrical power toan electrical load, the input devices and the electrical control deviceadapted to communicate over a communications network, a method ofinhibiting the normal operation of the input devices, the methodcomprising the steps of inhibiting an input device in response to itbeing placed in the off state, transmitting an inhibit message from theinput device to the electrical control device, removing electrical powerfrom the load in response to the inhibit message, inhibiting theelectrical control device from responding to commands issued by any ofthe input devices to apply electrical power to the load until all inputdevices are removed from the off state, transmitting a feedback inhibitmessage from the electrical control device to each of the input devicesand inhibiting all input devices from activating the electrical controldevice to apply electrical power to the load until all input devices areremoved from the off state.

Further, there is provided in accordance with the present invention anapparatus for inhibiting the normal operating mode of a plurality ofnodes logically connected to an electrical control device, comprisingmeans for placing at least one of the nodes into the off state, meansfor communicating to the electrical control device the fact that thenode has been placed in the off state and means for inhibiting theelectrical control device, in response to the communication, fromactivating an electrical load connected thereto until each of theplurality of nodes is removed from the off state.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention is herein described, by way of example only, withreference to the accompanying drawings, wherein:

FIG. 1 is a schematic diagram illustrating an example electrical devicesystem wherein each element comprises communications means forcommunicating over a communications network;

FIG. 2 is a high level block diagram illustrating the inhibit andfeedback mechanisms within an example electrical network comprisingmultiple sensors controlling a single electrical control device;

FIG. 3 is a flow diagram illustrating the inhibit method of the presentinvention as executed within the sensor device;

FIG. 4 is a flow diagram illustrating the feedback inhibit method of thepresent invention as executed within the sensor device;

FIG. 5 is a flow diagram illustrating the inhibit method of the presentinvention as executed within the lighting control device; and

FIG. 6 is a block diagram illustrating the sensor, lighting control unitand a network management tool in more detail.

DETAILED DESCRIPTION OF THE INVENTION

A schematic diagram illustrating an example electrical device systemwherein each element comprises communications means for communicatingover a communications network is shown in FIG. 1. The electricalnetwork, generally referenced 20, comprises a plurality of sensingdevices 16 labeled sensor #1 through sensor #N, an electrical controldevice 18 such as a lighting control device and a communications networkrepresented by the LAN 14. Electrical power to the load 22 is controlledby the lighting control unit 18. One end of the load 22 is coupled tothe neutral line 32 and the other end to a load control line output fromthe lighting control unit 18. Line side phase and neutral lines 26, 28,respectively, are electrically connected to a circuit breaker 12.Optionally, the circuit breaker 12 also comprises communication meansintegral therewith for communicating to other devices connected to theLAN 14. Lighting control unit 18 receives electrical power through loadside phase and neutral lines 30, 32, respectively.

Note that the example electrical network 20 shown in FIG. 1 is presentedto aid in understanding the principles of the present invention. Othernetwork configurations comprising different sensors and/or electricalcontrol devices can be used without departing from the spirit of thepresent invention. Particularly, in addition to the sensors 16, othertypes of devices can be used, including but not limited to, switches,dimming input devices, touch input switching or dimming devices, etc.Similarly, in addition to the lighting control unit 18, any type ofelectrical control device can be used, including but not limited to,circuit breaker type devices, dimming controls, switching controls orany other type of load breaking or dimming device.

In one embodiment of the electrical network 20, one of the electricaldevices connected to the phase and neutral power lines comprises powersupply means for providing a low voltage supply to the sensors or otherinput type devices 16. In addition, the electrical network 20 isconfigured such that any of sensors #1 through #N has the ability tocause the lighting control unit to turn electrical power to the load onand off. Each of the sensor devices 16, circuit breaker 12 and controldevice 18 comprises means for communicating to other devices over acommunications network or communications bus such as LAN 14. Asdescribed in the Background section of this document, such means maycomprise any commercially available control/communications system suchas the CEBus (EIA-600 standard) or LonWorks (Echelon) systems. Further,the LAN 14 may comprise any suitable communication media such as twistedpair, power line, IR, RF, coaxial cable or fiber optic cable.

The method of the present invention inhibits and effectively overridesthe normal operation of an electrical device that is connected to thecommunication network thus providing a known status and safe operatingcondition for all the nodes in the group or subsystem. Using the method,maintenance or service can be performed on any of the devices, i.e.,sensors 16, connected to the control device 18 regardless of whether thecontrol device is a switching or dimming control device, common circuitbreaker, branch circuit breaker or other local switching/dimming controlunit or switching/dimming device. The method functions to open anddisconnect power to the load, such as a lighting load, when any of thesensors in switched into the inhibit or off state. This assumes that allthe input devices, i.e., sensors #1 through #N, are logically boundtogether (using standard LonWorks terminology) such that they controlthe same switching or dimming control device 18. When any of the inputdevices is placed in the off state, i.e., maintenance or maintenanceinhibit mode, all the other input devices are inhibited or preventedfrom causing electrical power to be applied to the load. Thus,regardless of the state of the various inputs applied to the other inputdevices, the load remains disconnected from the electrical power.

The method of the present invention is particularly suited when utilizedin a twisted pair system wherein the switching/dimming control device islocalized and separate from the sensor/switch input. Note further thatthe same sensor/switch can be bound or connected with multiple controldevices. Each control device can be bound or connected to multiplesensor/switch input devices.

It is important to note that it is not recommended that the method ofthe present invention be used in lieu of opening the branch circuitbreaker to disconnect electrical power to the load. Preferably, themethod is used as a supplemental means to disconnect electrical power tothe load and the switching/dimming control unit.

A high level block diagram illustrating the inhibit and feedbackmechanisms within an example electrical network comprising multiplesensors controlling a single electrical control device is shown in FIG.2. As described previously above, each of the sensors 16, comprisesswitch means for turning the sensor operation on and off. When theswitch is on, the sensor operates to transmit its state to the lightingcontrol unit 18. The switch can be implemented either mechanically orelectronically or a combination of the two. A slide switch may beutilized for placing the input device into the off state or maintenanceinhibit mode.

The input device, e.g., sensor 16, may comprise a sensing, switch inputor dimming input device. In the example presented in FIGS. 1 and 2, theinput devices are sensors comprising passive infrared (PIR) occupancysensors which function to transmit the presence or absence of motionwithin their field of view. Thus, if all sensors are operating andlogically bound (using standard LonWorks terminology) to the lightingcontrol unit, then motion detected by any of the N sensors 16 will causethe lighting control unit 18 to apply electrical power to the load.

When a sensor is turned off, it means that even if the sensor detectsmotion within its field of view, the lighting control unit is notinstructed to apply electrical power to the load. Thus, using a LonWorksnetwork as an example, if a sensor is turned off, i.e., placed ininhibit or maintenance mode, no messages are sent to the lightingcontrol unit instructing it to turn the load on, regardless of the factthat motion is detected by the sensor.

When any one of the sensors is turned off, the lighting control unitmust be blocked, i.e., inhibited, from responding to requests from othersensors to turn the load on. This is achieved by communicating the factthat a sensor has been placed in the off state to the lighting controlunit. Once the lighting control unit is informed that one of itscontrolling sensors is off, it disregards further instructions to turnor off from all sensors.

With reference to FIG. 2, each sensor maintains two entities (statevariables): INHIBIT and FEEDBACK_INHIBIT. Each entity can have one oftwo states: on or off. Under normal non-inhibited conditions, the valueof INHIBIT in each sensor is set to off. When a sensor has been turnedoff, the value of INHIBIT is set to on and a message is sent to thelighting control unit informing it that the sensor has been turned off.When this message is received by the lighting control unit, the anidentifier associated with the sensor is stored in a table or array.Preferably, the identifier is a unique entity associated with an inputdevice such as its address. The table is of size N, with sufficientstorage allocated for each sensor in the group. Once the message isreceived, the lighting control unit removes electrical power to the loadif was previously applied and is inhibited from responding toinstructions from other sensors to turn the load on.

In addition, upon receipt of the inhibit message, the lighting controlunit sets its FEEDBACK_INHIBIT, normally off, to on. It thencommunicates to all N sensors that it has been inhibited and will notrespond to instructions to apply electrical to the load. Upon receipt ofthe FEEDBACK_INHIBIT variable, each sensor places itself in an inhibitmode and refrains from sending commands to the lighting control unit toapply electrical power to the load.

Note that each sensor that is turned off, e.g., via switch means withinthe sensor, sends an inhibit message to the lighting control unit. Thelighting control unit keeps track of which sensors have been placed inthe off state. The value of FEEDBACK_INHIBIT will not change to offuntil all the sensors that have been previously placed in the off stateare removed from the off state. Thus, if two sensors have been turnedoff and one is later turned back on, the lighting control unit remainsinhibited until the second sensor is turned on.

Note that the switch mean within each sensor may comprise any suitableswitching apparatus either mechanical and/or electrical such as abutton, slide or rocker switch.

A flow diagram illustrating the inhibit method of the present inventionas executed within the sensor device is shown in FIG. 3. It is assumedthat the controller within the sensor, e.g., microprocessor or othersuitable processing means, is able to acquire the state of the switcheither by periodically scanning or other means. The sensor thusperiodically checks whether the switch has been turned off (step 40).When the switch is detected to be in the off position, the state ofINHIBIT is set to on (step 60). An inhibit message is then sent to thelighting control unit (step 62). The effect of the inhibit message is tocause the light control unit to immediately turn off electrical power tothe load and prevent the lighting control unit from responding toinstructions from other sensors to turn electrical power to the load on.

Once inhibited, the sensor ignores the presence or absence of motion.Thus, motion within its field of view is ignored (step 64). The sensoritself is also inhibited from sending further command messages, i.e.,motion detected or not detected, to the lighting control unit regardlessof whether motion is detected (step 66). Optionally, a visual indicatorsuch as an LED located on the sensor can be flashed using apredetermined flash pattern to signify to the user that the sensor hasbeen inhibited from responding to further sensor input (step 68).

If the switch was previously off and has been switched back on (step40), the state of INHIBIT is set to off (step 42). A message is sent tothe lighting control unit informing it that the sensor has been removedfrom the off state (step 44). In response, the lighting control unitwill change the state of FEEDBACK_INHIBIT to off, provided that no othersensor is still in the off state, i.e., its switch is still in the offposition. The sensor then checks the state of the FEEDBACK_INHIBITvariable which conveys whether the light control unit is still inhibitedfrom other sensors (step 46). If no other sensors are in an inhibitstate, the sensor resumes responding to sensor input, i.e., motion (step48). Also, the sensor resumes sending sensor status messages to thelighting control unit conveying the state of occupancy for that sensor(step 50). The LED stops being flashed (step 52).

If the value of FEEDBACK_INHIBIT remains on (step 46), the sensorcontinues to ignore sensor input (step 54). Also, the sensor continuesto refrain from sending occupancy messages to the lighting control unit(step 56). The LED also continues to be flashed (step 58).

A flow diagram illustrating the feedback inhibit method of the presentinvention as executed within the sensor device is shown in FIG. 4. Thismethod is performed in the sensor whenever a feedback inhibit message isreceived from the lighting control unit. First the position of thesensor's switch is determined (step 80). If the switch position is off,the method terminates since the sensor is already inhibited, i.e., inthe off state. Note that particular sensor may be the one to have causedthe lighting control unit to become inhibited and generate the feedbackinhibit messages to all the sensors.

If the switch position is on (step 80), the state of theFEEDBACK_INHIBIT variable is examined (step 82). If it is on, i.e., thelighting control unit is inhibited, the sensor is placed in inhibit modein response thereto. Thus, the sensor ignores the presence or absence ofmotion within its field of view (step 90). The sensor also is inhibitedform sending command messages, i.e., occupancy messages, to the lightingcontrol unit regardless of whether motion is detected (step 92). Inaddition, an optional visual indicator such as an LED located on thesensor is be flashed using a predetermined flash pattern to signify tothe user that the sensor has been inhibited from responding to furthersensor input (step 94).

If the switch position is on (step 80) and the state of theFEEDBACK_INHIBIT variable is off (step 82), then the sensor is permittedto respond to motion, i.e., changes in occupancy (step 84). Also, thesensor is permitted to send command messages, i.e., occupancy messages,to the lighting control unit in response to motion detected or notdetected (step 86). In addition, the LED ceases to be flashed since thesensor is no longer in inhibit mode (step 88).

A flow diagram illustrating the inhibit method of the present inventionas executed within the lighting control device is shown in FIG. 5. Thismethod is performed each time an inhibit message is received from any ofthe sensors within the group associated with that lighting control unit.The message conveys the state of the INHIBIT variable in a sensor.First, the state of the INHIBIT is determined (step 100). If the INHIBITvariable is set to on, i.e., one of the sensors has been inhibitedmeaning its switch has been turned off, the address of the sensor isstored in a table, array or small database (step 120). The size of thetable is large enough to hold separate indications from each of the Nsensors within the group. Any identifying entity such as the address ofthe sensor can be used. It is important that the lighting control unitbe able to identify the source of the inhibit message so that later on,it can remove the entry from its table.

Next, the state of the FEEDBACK_INHIBIT variable is set to on (step122). If electrical power was previously applied to the load, it is nowremoved (step 124). The lighting control unit is then inhibited fromresponding to any messages instructing it to turn the load on (step126).

If the INHIBIT variable from the sensor is set to off (step 100) thenthe entry in the table corresponding to the sensor sending the messageis removed (step 102). The address of the sensor is used as a uniquenumber to identify the particular sensor. It is then determined whetherthere are any remaining entries in the table (step 104). The lightingcontrol unit can only resume responding to sensor input messages whenall the sensors are in removed from the off state, i.e., are in thenot-inhibited state. If one or more sensors remain inhibited (theirswitches are still in the off position) the lighting control unitremains inhibited.

Thus, if one of the sensors is still inhibited (step 104), the state ofFEEDBACK_INHIBIT is set to on (step 106) and electrical power to theload is removed (step 108). Further, the lighting control unit isinhibited from responding to messages from all sensors to turn power tothe load on (step 110).

If there are no entries left in the table (step 104) then the state ofFEEDBACK_INHIBIT is set to off (step 112) and the lighting control unitis enabled to turn on electrical power to the load (step 114). Thelighting control unit is removed from the inhibit mode and is permittedto respond to instructions from any of the sensors (step 116).

Another feature of the present invention is local and remote indicationand control of the sensors and control unit or any other type of devicethat is capable of communicating on the network. Remote control andindication is provided by any device that is suitably programmed andadapted to communicate over the network, such as a network managementtool. A block diagram illustrating the sensor, lighting control unit anda network management tool in more detail is shown in FIG. 6. Each of thenetwork management tool 130, sensors #1 through #N 150 and the lightingcontrol unit 170 communicate over a network LAN 190. If the networkcomprises a LonWorks compatible network the LAN may be implemented overany suitable media such as power line carrier, RF, twisted pair, fiberoptic cable or infrared.

The network management tool 130 comprises a network interface 142 forcommunicating over the LAN 190 and includes the necessary hardware andsoftware components. The user interface 140 provides the functionalityfor a user to interface with the management tool. The network managementtool may include a video screen, keyboard, pointing device, one orbuttons, user interface software, etc. A hardware interface 138comprises both the hardware and the related software required tointerface to the hardware. Hardware may include buttons, switches,slides, peripherals or any other type of hardware device.

A controller 132 executes the system and application software that runsthe network management tool. The application software includes networkdiagnostic software that provides management functions such as themonitoring and control of any management enabled device connected to thenetwork. A device must be adapted to be able to managed remotely. Onesuitable management protocol is the well known Simple Network ManagementProtocol (SNMP) which includes agents which reside in the device to bemanaged. A memory module 136 provides storage capabilities for thenetwork management tool. The memory module 136 may comprise RAM, ROM,non volatile RAM, EPROM, EEPROM, etc. The memory is utilized by thecontroller to store program data and variable data including profilesettings and network variable values.

One or more indicators 134 provide an indication function to a user andare controlled by the controller 132. The indicators 134 may compriseaudible and/or visual indication such as a buzzer, bell, siren, LED,light, flasher, strobe, video screen indications, etc.

The sensors 150 comprise a network interface 154 for communicating overthe LAN 190 and include the required hardware and software componentsfor communication to occur. A hardware interface 156 comprises both thehardware and the related software required to interface to the hardware.Hardware may include buttons, switches, slides, peripherals or any othertype of hardware component or device.

A memory module 160 provides storage capabilities for the networkmanagement tool. The memory module 160 may comprise RAM, ROM, nonvolatile RAM, EPROM, EEPROM, etc. The memory is utilized by thecontroller to store program data and variable data including profilesettings and network variable values.

One or more indicators 158 provide an indication function to a user andare controlled by the controller 152. The indicators 158 may compriseaudible and/or visual indication such as a buzzer, bell, siren, LED,light, flasher, strobe, video screen indications, etc.

The controller 152 executes the system and application software thatruns the sensor. The application software includes the algorithms usedto read and process the sensor data received. In addition, theapplication software performs management and diagnostic functions suchas self test of the device and monitoring of its operating state. Inaddition, the software includes the ability to provide local or remotediagnostic and management functions. Diagnostic functions may includeboth local periodic status checks, i.e., self test functions, andremotely initiated test functions such as from a network management tool130. Thus, the sensor is adapted to permit a remotely located networkmanagement tool to monitor and control the sensor. One suitablemanagement protocol is the well known Simple Network Management Protocol(SNMP) which includes an agent which reside in the sensor.

The lighting control unit 170 comprise a network interface 174 forcommunicating over the LAN 190 and include the required hardware andsoftware components for communications to occur. A hardware interface176 comprises both the hardware and the related software required tointerface to the hardware. Hardware may include buttons, switches,slides, peripherals or any other type of hardware component or device.The hardware interface also comprises means for controlling anelectrical load connected to the control unit 170.

A memory module 180 provides storage capabilities for the networkmanagement tool. The memory module 180 may comprise RAM, ROM, nonvolatile RAM, EPROM, EEPROM, etc. The memory is utilized by thecontroller to store program data and variable data including profilesettings and network variable values. The sensors, network managementtool and control units function to save their data and their currentoperating state in the event of a power failure and subsequent restart.

One or more indicators 178 provide an indication function to a user andare controlled by the controller 172. The indicators 178 may compriseaudible and/or visual indication such as a buzzer, bell, siren, LED,light, flasher, strobe, video screen indications, etc.

The controller 172 executes the system and application software thatruns the lighting control unit. The application software includes thealgorithms used to read and process the data received locally and fromthe network. In addition, the application software performs managementand diagnostic functions such as self test of the device and monitoringof its operating state. In addition, the software includes the abilityto provide local or remote diagnostic and management functions.Diagnostic functions may include both local periodic status checks,i.e., self test functions, and remotely initiated test functions such asfrom a network management tool 130. Thus, the lighting control unit isadapted to permit a remotely located network management tool to monitorand control the unit. One suitable management protocol is the well knownSimple Network Management Protocol (SNMP) which includes an agent whichreside in the sensor.

An important aspect of the present invention is that the device can beplaced into an off, standby, etc. mode (1) either locally or remotely byway of a local mechanical or electrical switch on the device itself or(2) remotely over the network via one or more control commands.

It is important to note that while the device is performing functionsinitiated wither locally or remotely, the software means within thedevice performs the following functions autonomously or via commandsreceived from a remote device, e.g., a management entity: (1)continuous, scheduled or random self test of any or all functions withinthe device or slave device with the generation of a go/no go controlsignal and (2) a continuous, scheduled or random diagnostic test of thesoftware and hardware performance of the device, including thegeneration of an indication of whether each function is working properlywithin the specification of the device or is inside or outside a windowof acceptance or is nearing to, drifting from or is outside the devicespecifications.

A remote of local indication and control signal can be sent to anydevice on the network. This signal can subsequently be utilized to opena load circuit breaker or be used to activate a visual or audibleindicator or warning signal.

In particular, the self test diagnostic capability can be initiated bythe pressing of a local test button on the device which when activatedcould trigger a test of the relay inside the device. In response to thetest, a local and remote control signal can be sent. In the event thedevice fails the test, the remote indication control signal causes acircuit breaker located upstream to open and also activates a visualand/or audible indication that the device being tested has failed andthat its relay or trip detection circuitry is malfunctioning.

Another important aspect of the present invention is local and remoteindication of events that occur both in the sensors and in the controlunits. For example, when a sensor is placed in the off mode (deviceoverride mode), standby mode, etc., an indication that this event hasoccurred is provided in the sensor that was placed in the off mode, theother sensors that are now inhibited and in the control unit bound tothe sensors. Different flash rates can be used to distinguish thedevices. For example, the device that was placed in the off mode canhave its indicator flash at a rate different from that of the indicatorson the other devices on the network that are logically bound together tothe same control unit.

Local and remote signaling, control and indication (on a networkmanagement tool, for example) is also provided when any device is beingtested and/or fails or passes the tests. In addition, local and remotesignaling, control and indication is also provided when a device fails,it is determined that a device requires testing or a device isdetermined to be in a degraded state (i.e., is about ready to fail). Forexample, via diagnostics initiated either locally or remotely via anetwork management tool, a sensor may determine that its field of viewhas degraded for some reason, one of its buttons is not operatingproperly, a relay is not functioning properly, etc. In such a case, thedevice can report its status to the management tool and/or activate alocal or remote indicator to alert personnel that a problem exists.

Calibration of the device can also be initiated either locally and/orremotely via the network. In addition, calibration can be performedautomatically at power up, initiated by a field service technician orinitiated periodically locally by the device or remotely by a managementtool.

Further, the device includes means for placing it in an off or overridestate by other than the mechanical means provided on the device itself,as described hereinabove. Thus, via software means within the device, amanagement tool may remotely place the device in the override mode suchas during routine maintenance, emergency situations, daily operatingprocedure, etc. The device also includes means other than via themechanical switch or pull tab to locally place the device in an overridestate. Such means may comprise electronic switch or standardcommunication interface means such as RS-232, RS-485, universal serialbus (USB), etc.

While the invention has been described with respect to a limited numberof embodiments, it will be appreciated that many variations,modifications and other applications of the invention may be made.

What is claimed is:
 1. A method of inhibiting the normal operating modeof a plurality of nodes logically connected to an electrical controldevice, said method comprising the steps of: tracking, in a memory, thestatus of each of the plurality of nodes as being either on or off;placing a first node of said plurality of nodes in the off state;communicating to said electrical control device a status messageindicating that said first node has been placed in the off state;inhibiting said electrical control device, in response to said statusmessage, from activating an electrical load connected thereto until eachof said plurality of nodes is removed from the off state; removing powerfrom the electrical load using the electrical control device respondingto the status message; and updating, in the memory, the tracked statusof each of the plurality of nodes as each node changes between on andoff states.
 2. The method according to claim 1, wherein said pluralityof nodes and said electrical control device are adapted to communicateover a communications network.
 3. The method according to claim 1,wherein said plurality of nodes and said electrical control device areadapted to operate in a LonWorks compatible system.
 4. The methodaccording to claim 1, wherein said plurality of nodes and saidelectrical control device are adapted to operate in a CEBus compatiblesystem.
 5. The method according to claim 1, further comprising the stepof providing switch means at each node permitting a user to place saidnode in the off state.
 6. The method according to claim 1, furthercomprising the step of inhibiting each node from instructing saidelectrical control device to apply electrical power to said electricalload.
 7. The method according to claim 1, further comprising the stepsof: maintaining a table of node identifiers; adding an identifierassociated with a node to said table when a node has been placed in theoff state; removing the identifier associated with a node from saidtable when the node has been removed from the off state; and enablingsaid electrical control device to activate an electrical load connectedthereto when all node identifiers have been removed from said table. 8.The method according to claim 7, wherein said node identifier comprisesthe address of the node.
 9. The method according to claim 1, furthercomprising the step of providing local and remote signaling, control andassociated indication when a node is being tested, fails or passesdiagnostic tests, requires testing, is in a degraded state, is about tofail or is operating outside of specification.
 10. The method accordingto claim 1, further comprising the step of providing indication means ineach node to indicate the occurrence of various events to a user. 11.The method according to claim 1, further comprising the step ofproviding indication means in each node to indicate the occurrence ofvarious events to a user, wherein said indication means may be set toflash at a plurality of rates.
 12. The method according to claim 1,wherein said step of inhibiting comprises the step of providing amechanical lock out mechanism on a node to prevent other nodes logicallybound to it from being placed in the on mode.
 13. The method accordingto claim 1, further comprising the step of saving data and currentoperating state information in the event of an electrical power loss andthe subsequent restoring of said data when electrical power is restored.14. In an electrical network including a plurality of input devices andan electrical control device coupled to and controlling electrical powerto an electrical load, said input devices and said electrical controldevice adapted to communicate over a communications network, a method ofinhibiting the normal operation of said input devices, said methodcomprising the steps of: tracking, in a memory, the status of each ofthe plurality of input devices as being either on or off; inhibiting afirst input device in response to it being placed in the off state;transmitting an inhibit message from said first input device to saidelectrical control device; removing electrical power from said load inresponse to said inhibit message; inhibiting said electrical controldevice from responding to commands issued by any of said input devicesto apply electrical power to said load until all input devices areremoved from the off state; removing power from the load using theelectrical control device responding to the inhibit message;transmitting a feedback inhibit message from said electrical controldevice to each of said input devices; inhibiting all input devices fromactivating said electrical control device to apply electrical power tosaid load until all input devices are removed from the off state; andupdating, in the memory, the tracked status of each of the plurality ofinput devices as each input device changes between on and off states.15. The method according to claim 14 wherein said plurality of inputdevices and said electrical control device are adapted to operate in aLonWorks compatible system.
 16. The method according to claim 14,wherein said plurality of input devices and said electrical controldevice are adapted to operate in a CEBus compatible system.
 17. Themethod according to claim 14, further comprising the step of providingswitch means at each input device permitting a user to place said inputdevice in the off state.
 18. The method according to claim 14, furthercomprising the steps of: maintaining a table of input device identifierswithin said electrical control device; adding an identifier associatedwith an input device to said table when an input device has been placedin the off state; removing the identifier associated with an inputdevice from said table when the input device has been removed from theoff state; and enabling said electrical control device to activate saidelectrical load when all input device identifiers have been removed fromsaid table.
 19. The method according to claim 18, wherein said inputdevice identifier comprises the address of the input device.
 20. Themethod according to claim 14, further comprising the step of providinglocal and remote signaling, control and associated indication when aninput device is being tested, fails or passes diagnostic tests, requirestesting, is in a degraded state, is about to fail or is operatingoutside of specification.
 21. The method according to claim 14, furthercomprising the step of providing indication means in each input deviceto indicate the occurrence of various events to a user.
 22. The methodaccording to claim 14, further comprising the step of providingindication means in each input device to indicate the occurrence ofvarious events to a user, wherein said indication means may be set toflash at a plurality of rates.
 23. The method according to claim 14,wherein said step of inhibiting comprises the step of providing amechanical lock out mechanism on an input device to prevent other inputdevices logically bound to it from being placed in the on mode.
 24. Themethod according to claim 14, further comprising the step of saving dataand current operating state information in the event of an electricalpower loss and the subsequent restoring of said data when electricalpower is restored.
 25. An apparatus for inhibiting the normal operatingmode of a plurality of nodes logically connected to an electricalcontrol device, comprising: means for tracking, in a memory, the statusof each of the plurality of nodes as being either on or off; means forplacing a first node in the off state; means for communicating to saidelectrical control device a status message indicating that said firstnode has been placed in the off state; means for inhibiting saidelectrical control device, in response to said status message, fromactivating an electrical load connected thereto until each of saidplurality of nodes is removed from the off state; means for removingpower from the electrical load using the electrical control deviceresponding to the status message; and means for updating, in the memory,the tracked status of each of the plurality of nodes as each nodechanges between on and off states.
 26. The apparatus according to claim25, wherein said plurality of nodes and said electrical control deviceare adapted to communicate over a communications network.
 27. Theapparatus according to claim 25, wherein said plurality of nodes andsaid electrical control device are adapted to operate in a LonWorkscompatible system.
 28. The apparatus according to claim 25, wherein saidplurality of nodes and said electrical control device are adapted tooperate in a CEBus compatible system.
 29. The apparatus according toclaim 25, further comprising switch means at each node permitting a userto place said node in the off state.
 30. The apparatus according toclaim 25, further comprising means for inhibiting each node frominstructing said electrical control device to apply electrical power tosaid electrical load.
 31. The apparatus according to claim 25, furthercomprising: a table of node identifiers; means for adding an identifierassociated with a node to said table when a node has been placed in theoff state; means for removing the identifier associated with a node fromsaid table when the node has been removed from the off state; and meansfor enabling said electrical control device to activate an electricalload connected thereto when all node identifiers have been removed fromsaid table.
 32. The apparatus according to claim 31, wherein said nodeidentifier comprises the address of the node.
 33. The apparatusaccording to claim 25, further comprising means for providing local andremote signaling, control and associated indication when a node is beingtested, fails or passes diagnostic tests, requires testing, is in adegraded state, is about to fail or is operating outside ofspecification.
 34. The apparatus according to claim 25, furthercomprising indication means in each node to indicate the occurrence ofvarious events to a user.
 35. The apparatus according to claim 25,further comprising indication means in each node to indicate theoccurrence of various events to a user, wherein said indication meansmay be set to flash at a plurality of rates.
 36. The apparatus accordingto claim 25, wherein said means for inhibiting said electrical controldevice comprises a mechanical lock out mechanism to prevent other nodeslogically bound to it from being placed in the on mode.
 37. Theapparatus according to claim 25, further comprising means for savingdata and current operating state information in the event of anelectrical power loss and the subsequent restoring of said data whenelectrical power is restored.